package com.johnboy.group.salary.dao;
import java.io.Serializable;
import java.util.List;

public interface BaseDao<T> {
	public int deleteById(Serializable id) throws Exception;

	public int insert(T o) throws Exception;

	public int update(T o) throws Exception;

	public T getOneById(Serializable id) throws Exception;

	public List<T> queryAll() throws Exception;

	public int insertBatch(List<T> lists) throws Exception;

}
